<template>
  <div id="hello">
   <!--  <header>
      <div class="container flexbox">
        <div class="logo">
           <img src="../assets/zgs_log.png" width="100%">
        </div>
        <div class="nav">
          <el-breadcrumb separator="|">
            <el-breadcrumb-item>说明</el-breadcrumb-item>
            <el-breadcrumb-item>注册</el-breadcrumb-item>
            <el-breadcrumb-item>登录</el-breadcrumb-item>
          </el-breadcrumb>
        </div>
      </div>
    </header> -->
    <el-container>
      <el-header height="100px">
        <div class="container flexbox">
          <div class="logo">
             <img src="../assets/zgs_log.png" width="100%">
          </div>
          <div class="nav">
            <el-breadcrumb separator="|">
              <el-breadcrumb-item>说明</el-breadcrumb-item>
              <el-breadcrumb-item>注册</el-breadcrumb-item>
              <el-breadcrumb-item><a>登录</a></el-breadcrumb-item>
            </el-breadcrumb>
          </div>
        </div>
      </el-header>
      <el-main>
        <el-carousel height="300px">
          <el-carousel-item v-for="item in pictures" :key="item">
            <img :src="item" width="100%" height="100%">
          </el-carousel-item>
        </el-carousel>
        <div class="container">
          <h3 class="step_tip">报名流程</h3>
          <div class="process">
            <el-steps  align-center>
              <el-step title="进入报名系统" icon="el-icon-setting"></el-step>
              <el-step title="填写基本信息" icon="el-icon-edit"></el-step>
              <el-step title="邮寄资料" icon="el-icon-message"></el-step>
              <el-step title="审查" icon="el-icon-question"></el-step>
              <el-step title="笔试" icon="el-icon-edit-outline"></el-step>
              <el-step title="面试" icon="el-icon-service"></el-step>
              <el-step title="查询成绩" icon="el-icon-search"></el-step>
            </el-steps>
          </div>
          <el-button type="primary">进入报名系统</el-button>
        </div>
        <div class="noticeDiv">
            <div class="container">
              <ul class="site-idea">
                <li>
                  <fieldset class="layui-elem-field layui-field-title">
                    <legend>通知公告</legend>
                      <dt>
                        <template v-for="item in notice">
                          <a href=""><dl><i class="el-icon-menu"></i>{{item.noticeName}}</dl></a>
                        </template>
                      </dt>
                  </fieldset>
                </li>
                <li>
                  <fieldset class="layui-elem-field layui-field-title">
                    <legend>报考指南</legend>
                      <dt>
                         <template v-for="item in notice">
                          <a href=""><dl><i class="el-icon-menu"></i>{{item.noticeName}}</dl></a>
                        </template>
                      </dt>
                  </fieldset>
                </li>
              </ul>
            </div>
        </div>
        <footer>
          @copyright
        </footer>
      </el-main>
    </el-container>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data () {
    return {
      pictures:[
      'http://www.hzic.edu.cn/upload/20115249314569047.jpg',
      'http://www.hzic.edu.cn/upload/200991514522284234.jpg',
      'http://www.hzic.edu.cn/upload/20095132345534874.jpg'
      ],
      notice:[{
        noticeName:'浙江工商大学2017年“校园开放日”活动'
      },
      {
        noticeName:'浙江工商大学2017年“校园开放日”活动'
      },
      {
        noticeName:'浙江工商大学2017年“校园开放日”活动'
      },
      {
        noticeName:'浙江工商大学2017年“校园开放日”活动'
      },
      {
        noticeName:'浙江工商大学2017年“校园开放日”活动'
      },
      {
        noticeName:'浙江工商大学2017年“校园开放日”活动'
      }]
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss">
#hello
{
  .container{
    width:1080px;
    margin:0 auto;
  }
  header{
      height:100px;
      background:#393D49;
      display:flex;
      align-items: center;
      border-bottom: 1px solid rgba(255,255,255,0.3);
      .flexbox{
        display:flex;
        align-items: center;
        justify-content: space-between;
      }
  }
    footer{
    height:60px;
    text-align:center;
    line-height:60px;
    color:#fff;
    font-size:14px;
    background:#393D49;
 }
  .logo{
    width:500px;
  }
  .nav a,.nav span{
    color:#fff;
  }
  .process{
    margin:30px 0;
  }
  .step_tip {
    font-size: 24px;
    color: #404549;
    line-height: 26px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 14px;
    margin-top: 20px;
  }
  .noticeDiv{
    width:100%;
    background: #f4f4f4;
    padding:40px 0;
    margin-top:30px;
    a {
        color: #333;
        text-decoration: none;
    }
  }
  .site-idea{font-size: 0; text-align: center; font-weight: 300; padding: 0;display: flex;justify-content: space-between;}
  .site-idea li{display: inline-block; vertical-align: top; *display: inline; *zoom:1; font-size: 14px; }
  .site-idea li{width: 50%;padding:20px 30px 0 30px; line-height: 24px; margin-left: 30px; border: 1px solid #d2d2d2; text-align: left;}
  .site-idea li:first-child{margin-left: 0}
  .site-idea .layui-field-title{border-color: #d2d2d2}
  .site-idea .layui-field-title legend{ padding: 0 20px; text-align: center;}
  .layui-field-title {
    margin: 10px 0 10px;
    border-width: 1px 0 0;
  }
  .layui-elem-field legend {
    //margin-left: 20px;
    //padding: 0 10px;
    font-size: 20px;
    font-weight: 300;
  }
  .layui-elem-field {
    //margin-bottom: 10px;
    padding: 0;
    //border-width: 1px;
    border-style: solid;
  }
  .el-step__head.is-wait,.el-step__title.is-wait{
    color:#333
  }
  .el-main{
    padding:0;
    overflow:hidden;
  }
  
}
</style>
